 /**
 * 子模块路由
 * djp
 */

var router = function($urlRouterProvider, $stateProvider){

 	$stateProvider

    //完善企业信息
    .state('app.enterpriseinfo', {
        url: "/tourismexamine/enterpriseinfo",
        views: {
            'main@' : {
                template : require('./views/enterpriseinfo.html'),
                controller : 'enterpriseinfo',
            }
        },
        resolve:{
            date2str: function (utilservice) {
                return utilservice.getDate;
            }
        }
    })

    //在线备案申请
    .state('app.enterpriseapply', {
        url: "/tourismexamine/enterpriseapply",
        views: {
            'main@' : {
                template : require('./views/enterpriseapply.html'),
                controller : 'enterpriseapply',
            }
        },
        resolve:{
            
        }
    })

};

module.exports = router;